﻿using Microsoft.AspNetCore.Mvc;

namespace DotNetCore.HelloWorld.Controllers
{
    public class HomeController : Controller
    {
        public IActionResult Index(string name)
        {
            ViewBag.Name = name;
            return View();
            //return $"Hello {name}";
        }
    }
}
